<?
	$dichvu_chitiet=$t->get_by_thutu("tin",$cc);
	$sanphamkhac=$t->get_by_order("tin",-1,-1, " and id <> '$cc' order by rand() limit 0,4");
?>

<div class="left">
	<img src="images/bg_service.jpg" style="margin:5px 0px;">
   	<div style="padding:0 20px;float:left;width:652px;">
    	<? $dem=0; while($row_danhmuc_chitiet=mysql_fetch_assoc($dichvu_chitiet)){ $dem++;
		//print_r($row_danhmuc_chitiet);
		?>
        <div <? if($dem%2==0) echo 'class="tour_chan"'; else echo 'class="tour_le"' ?>  style="border:none; width:100%;">
            <h1 class="name"><a href="javascript:void(0)">	
            <?=$row_danhmuc_chitiet['ten_'.$lang]?>
            </a></h1>
            <img src="<? if($row_danhmuc_chitiet['url_img']=='') echo "images/noimage.png"; else echo $row_danhmuc_chitiet['url_img'];?>" class="bg_image" align="left" width="134" height="92" >
            <div style="line-height:1.6; padding-top:5px;">
                <?=$row_danhmuc_chitiet['tomtat_'.$lang]?>
            </div>
        </div>
        <? if($dem%2==0) {?>
        <div style="overflow:hidden; border-bottom:1px dashed #6d6552;width:652px;padding:1px 0px;">
        </div>
        <?  }?><br />
		<div style="float:left;width:652px;float:left;margin:5px 0px;">
        	<?=$row_danhmuc_chitiet['noidung_'.$lang]?>
        </div>
        <? }?>
    </div>
</div>

<div class="left">
	<img src="images/orther_tour.png" style="margin:5px 0px;">
   	<div style="padding:0 20px;float:left;width:652px">
    	<? $dem=0; while($row_danhmuc=mysql_fetch_assoc($sanphamkhac)){ $dem++?>
        <div <? if($dem%2==0) echo 'class="tour_chan"'; else echo 'class="tour_le"' ?> >
        <?
        	$bb=$row_danhmuc['idloai'];
			$dv=$t->get_by_thutu('tin_loai',$bb);
			$row_dv=mysql_fetch_assoc($dv);
		?>
            <h1 class="name"><a href="<?=$list['8']['alias']?>/<?=convert($row_dv['ten_'.$lang])?>/<?=convert($row_danhmuc['ten_'.$lang])?>-<?=$row_danhmuc['id']?>.html">	
            <?=$row_danhmuc['ten_'.$lang]?>
            </a></h1>
            <img src="<? if($row_danhmuc['url_img']=='') echo "images/noimage.png"; else echo $row_danhmuc['url_img'];?>" class="bg_image" align="left" width="134" height="92" >
            <div style="line-height:1.6; padding-top:5px;float:left;width:140px;">
                <?=$row_danhmuc['tomtat_'.$lang]?>
            </div>
        </div>
        <? if($dem%2==0) {?>
        <div style="overflow:hidden; border-bottom:1px dashed #6d6552;width:652px;padding:1px 0px;">
        </div>
        <? } }?>
    </div>
</div>